package change;

public class Moon {
    private Moon(){}
    private static Moon instance;
    public static Moon getInstance(){
        if (instance==null){
            instance=new Moon();
        }
        return instance;
    }
    public  void moonfall(){
        System.out.println("moonfall");
    }
}
